package com.vehicle.domains.vo.req.sysRole;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.List;

@Data
@Schema(description = "角色添加权限参数")
public class AddRolePermissionsReq {
    @Schema(name = "roleId", description = "角色ID")
    @NotNull(message = "角色ID不能为空")
    private Long roleId;
    @Schema(name = "permissionIds", description = "权限ID列表")
    @NotNull(message = "权限ID列表不能为空")
    private List<Long> permissionIds;
}
